import { AppRouteRecordRaw } from '@/router/types'

export interface PermissionState {
  // 全部路由
  routes: AppRouteRecordRaw[]

  // 动态路由 -> 侧边栏路由
  dynamicRoutes: AppRouteRecordRaw[]
}

const state: PermissionState = {
  routes: [],
  dynamicRoutes: []
}

export default state
